package com.mx.tool.util;

import cn.hutool.core.util.RandomUtil;
import org.apache.commons.codec.binary.StringUtils;

/**
 * @Author: 徐建鹏.
 * @create: 2021-11-15 19:15
 * @Description:
 */
public class NewStrUtil {

    public static String newStringUtf8(byte[] bytes){
        return StringUtils.newStringUtf8(bytes);
    }

    public static void main(String[] args) {


        System.out.println(RandomUtil.randomString(RandomUtil.BASE_CHAR,4));
    }
}
